package com.kgc.kmall.service;

import com.kgc.kmall.bean.Member;
import com.kgc.kmall.bean.MemberReceiveAddress;

import java.util.List;

public interface MemberService {
    public List<Member> selectAllMember();

    Member login(String userName, String password);

    void addToken(String token, Long id);

    Member selectAllBysourceUid(Long uid);

    void add(Member member);



    List<MemberReceiveAddress> getReceiveAddressByMemberId(Long memberId);

    MemberReceiveAddress getReceiveAddressById(long l);
}
